package com.flower.domain.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

/**
 * 花卉百科Excel数据模型
 */
@Data
@ContentRowHeight(20) // 内容行高
@HeadRowHeight(25)    // 表头行高
public class EncyclopediaExcelData {

    /**
     * 花卉名称
     */
    @ExcelProperty(value = "花卉名称", index = 0)
    @ColumnWidth(15)
    private String name;

    /**
     * 学名
     */
    @ExcelProperty(value = "学名", index = 1)
    @ColumnWidth(20)
    private String scientificName;

    /**
     * 科
     */
    @ExcelProperty(value = "科", index = 2)
    @ColumnWidth(12)
    private String family;

    /**
     * 属
     */
    @ExcelProperty(value = "属", index = 3)
    @ColumnWidth(12)
    private String genus;

    /**
     * 别名
     */
    @ExcelProperty(value = "别名", index = 4)
    @ColumnWidth(15)
    private String alias;
    
    /**
     * 产地/原产地
     */
    @ExcelProperty(value = "产地", index = 5)
    @ColumnWidth(15)
    private String origin;
    
    /**
     * 适宜生长环境
     */
    @ExcelProperty(value = "适宜环境", index = 6)
    @ColumnWidth(20)
    private String rightPlace;
    
    /**
     * 栽培难度（1-5，1:极易 2:容易 3:中等 4:较难 5:困难）
     */
    @ExcelProperty(value = "栽培难度", index = 7)
    @ColumnWidth(12)
    private Integer cultivationDifficulty;
    
    /**
     * 花卉简介
     */
    @ExcelProperty(value = "花卉简介", index = 8)
    @ColumnWidth(30)
    private String introduction;
    
    /**
     * 花卉特点
     */
    @ExcelProperty(value = "花卉特点", index = 9)
    @ColumnWidth(30)
    private String features;
    
    /**
     * 光照需求
     */
    @ExcelProperty(value = "光照需求", index = 10)
    @ColumnWidth(15)
    private String lightRequirement;
    
    /**
     * 浇水需求
     */
    @ExcelProperty(value = "浇水需求", index = 11)
    @ColumnWidth(15)
    private String waterRequirement;
    
    /**
     * 土壤类型
     */
    @ExcelProperty(value = "土壤类型", index = 12)
    @ColumnWidth(15)
    private String soilType;
    
    /**
     * 最低适宜温度(°C)
     */
    @ExcelProperty(value = "最低温度(°C)", index = 13)
    @ColumnWidth(15)
    private Double temperatureMin;
    
    /**
     * 最高适宜温度(°C)
     */
    @ExcelProperty(value = "最高温度(°C)", index = 14)
    @ColumnWidth(15)
    private Double temperatureMax;
    
    /**
     * 湿度要求
     */
    @ExcelProperty(value = "湿度要求", index = 15)
    @ColumnWidth(15)
    private String humidity;
    
    /**
     * 施肥要求
     */
    @ExcelProperty(value = "施肥要求", index = 16)
    @ColumnWidth(15)
    private String fertilization;
} 